# $Id: Makefile,v 1.1.1.1 2003/01/21 04:11:20 root Exp $

include Rules.mk

TARGET = $(TOP)/src/user-tcp/libusernet.a

all: simple

simple: $(TARGET)

$(TARGET): $(PCAP)/libpcap.a 
	cd $(TOP)/src/user-tcp; $(MAKE) depend; $(MAKE); cd ../..
	cd $(TOP)/src/global_socket; $(MAKE); cd ../..
	cd $(TOP)/src/test; $(MAKE) depend; $(MAKE); cd ../..

$(PCAP)/libpcap.a:
	cd $(CAP); $(MAKE); cd ..

clean:
	cd $(CAP); $(MAKE) clean; cd ..
	cd $(TOP)/src/user-tcp; $(MAKE) clean; cd ..

# DO NOT DELETE
